package com.example.healthmanagement.dao;

import com.example.healthmanagement.entity.ChildInformation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface ChildInformationUserRepository extends JpaRepository<ChildInformation, Long> {

    List<ChildInformation> getChildInformationsByUser_UserIDIs(Integer userID);

    ChildInformation getChildInformationByChildID(Integer childID);
}